package com.study.it.dubbo.face;

import com.study.it.entity.Record;

import java.util.List;

public interface RecordDubbo {
    public List<Record> findListByAccountId(Integer accId);
    public List<Record> findListByCardNo(String cardNo);
    public Record findOneById(Integer id);
    public Record add(Float money,String cardno);
    public Record add(Float money,Integer accountId);
    public Record take(Float money,String cardno);
    public Record take(Float money,Integer accountId);
    public Record save(Float money,String cardno);
    public Record save(Float money,Integer accountId);
    public Record edit(Record o);
    public Record editRecord(Record o);
    public Integer remove(Integer id);
}
